<script setup>
import Children from "./Children.vue"
import { ref } from "vue";
const list = ref([{name:1,value:1}])
function getList(){
    return list
}
</script>
<template>
    <button @click="list.push([{name:1,value:2}])">er</button>
    <Children :list="getList"></Children>
</template>
<script>
</script>
<style >
 
</style>